/**
 * @file: StatisData
 * @author: michael
 * @date: 2019/4/13 14:13
 * @copyright: 南京凯盛
 */
package cn.com.kisen.kdc.domain;

import java.io.Serializable;

/**
 * 统计数据
 *
 * @author michael
 * @version 1.0 Created on 2019/4/13 14:13
 */
public class StatisData<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 统计分类
     */
    String category;

    /**
     * 统计结果- 实际已完成量
     */
    T value;

    /**
     * 预约量
     */
    T appointValue;

    /**
     * 剩余量
     */
    T remainValue;
    
    /**
     * 统计维度
     */
    String date;

    public StatisData() {
    }

    public StatisData(String category, String date) {
        this.category = category;
        this.date = date;
    }

    public StatisData(String category, T value, String date) {
        this.category = category;
        this.value = value;
        this.date = date;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public T getAppointValue() {
        return appointValue;
    }

    public void setAppointValue(T appointValue) {
        this.appointValue = appointValue;
    }

    public T getRemainValue() {
        return remainValue;
    }

    public void setRemainValue(T remainValue) {
        this.remainValue = remainValue;
    }
}
